home *** CD-ROM | disk | FTP | other *** search
- Path: yama.mcc.ac.uk!dmu!babbage
- From: babbage@dmu.ac.uk (Babbage)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Scrolling only selected bitplanes
- Date: 25 Mar 1996 18:43:52 GMT
- Organization: De Montfort University
- Distribution: world
- Message-ID: <4j6ph8$r51@macondo.dmu.ac.uk>
- References: <314e1835@beachyhd.demon.co.uk> <2628.6653T1T2571@mbox.vol.it>
- Reply-To: babbage@dmu.ac.uk
- NNTP-Posting-Host: oak.cms.dmu.ac.uk
-
- In article <2628.6653T1T2571@mbox.vol.it>, bizzetti@mbox.vol.it (Fabio Bizzetti)
- writes:
- >
- > >Hi all,
- >
- > >I'm wondering how to go about something..
- >
- > >I have an intuition screen open, on to which I'm directly rendering (using
- > >its own rastport, not a window's rastport). This window can be any number of
- > >bitplanes (2 to 8), but usually is 8.
- >
- > >I am currently drawing (using WritePixel()) and scrolling (using
- > >ScrollRaster()). However, I want to be able to draw and scroll completely
- > >*independently* of the final bitplane. So I draw and scroll planes 1 through
- > >7, but plane 8 stays completely undisturbed.
- > >This will allow me a basic parallax effect. As planes 1 - 7 scroll by, plane
- > >8 stays behind, motionless.
- if you really want to play with bitplanes you could always allocate your own
- bitmap and base your intuition screen on that and fiddle to your hearts
- content =:)
- (and use user-copperlists)
- why not use sprites for a non moving plane?
- perhaps you could scroll around the 7 planes (not changing them)
- and then scroll the 8th plane to put it back in a stationary position!
- Then your scrolling 1 and not 7
- > Sorry to say it, but this is a good example of reality about OS and direct
- > hardware programming. And also if there's a way to do it with the OS, it'll
- > be damn slower and expecially damn more innatural and complex than it has
- > to be.
- naaaa
- > What are the king of games?: consoles. Have you ever seen a console
- > programmed
- > through an OS such as Amiga's one?
- yes
- most of the new ones have their own small o/s the developers can use
- and some `require` the coders to use system only calls.
- =:)
-
- babbage
-